package com.catsic.zcjc.condition;
import java.util.List;

import org.apache.commons.lang3.StringUtils;

import com.catsic.base.conditon.Condition;

public class EquipCondition implements Condition{

	/**
	 * 
	 */
	private static final long serialVersionUID = -9059021971993018312L;

	/**
	 * 设备名称
	 **/
	private String name;
	
	/**
	 * 设备编码
	 **/
	private String code;
	
	/**
	 * 设备类型
	 */
	private Integer type;
	
	/**
	 * 机构id
	 **/
	private String organId;
	
	/**
	 * 机构名称
	 **/
	private String organName;
	
	private String stationId;
	
	private List<String> stationIdList;
	
	private String systemId;
	
	private List<String> systemIdList;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getOrganId() {
		return organId;
	}

	public void setOrganId(String organId) {
		this.organId = organId;
	}

	public String getOrganName() {
		return organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public String getStationId() {
		if(StringUtils.isNotBlank(stationId)){
			stationId = stationId.replace("station_", "");
		}
		return stationId;
	}

	public void setStationId(String stationId) {
		this.stationId = stationId;
	}
	
	public List<String> getStationIdList() {
		return stationIdList;
	}

	public void setStationIdList(List<String> stationIdList) {
		this.stationIdList = stationIdList;
	}

	public String getSystemId() {
		if(StringUtils.isNotBlank(systemId)){
			systemId = systemId.replace("system_", "");
		}
		return systemId;
	}

	public void setSystemId(String systemId) {
		this.systemId = systemId;
	}

	public List<String> getSystemIdList() {
		return systemIdList;
	}

	public void setSystemIdList(List<String> systemIdList) {
		this.systemIdList = systemIdList;
	}
	
	
}
